using UnityEngine.EventSystems;

namespace BlockOS.Client
{
    public abstract class Window : UIBehaviour
    {
        protected WindowManager manager;

        public void SetWindowManager(WindowManager manager)
        {
            this.manager = manager;
        }

        public virtual void OnForeground() { }
        public virtual void OnBackground() { }

        public abstract void OnShow();
        public abstract void OnHide();
    }
}
